﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013BB RID: 5051
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TextJoinInfo : IMessage<TextJoinInfo>, IMessage, IEquatable<TextJoinInfo>, IDeepCloneable<TextJoinInfo>, IBufferMessage
	{
		// Token: 0x17003FAD RID: 16301
		// (get) Token: 0x0600E233 RID: 57907 RVA: 0x0025C94B File Offset: 0x0025AB4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TextJoinInfo> Parser
		{
			get
			{
				return TextJoinInfo._parser;
			}
		}

		// Token: 0x17003FAE RID: 16302
		// (get) Token: 0x0600E234 RID: 57908 RVA: 0x0025C952 File Offset: 0x0025AB52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TextJoinInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FAF RID: 16303
		// (get) Token: 0x0600E235 RID: 57909 RVA: 0x0025C964 File Offset: 0x0025AB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TextJoinInfo.Descriptor;
			}
		}

		// Token: 0x0600E236 RID: 57910 RVA: 0x0025C96B File Offset: 0x0025AB6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinInfo()
		{
		}

		// Token: 0x0600E237 RID: 57911 RVA: 0x0025C98C File Offset: 0x0025AB8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinInfo(TextJoinInfo other) : this()
		{
			this.textItemId_ = other.textItemId_;
			this.eANJBBEKKII_ = other.eANJBBEKKII_;
			this.textItemConfigId_ = other.textItemConfigId_;
			this.textJoinItemId_ = other.textJoinItemId_;
			this.fANNOHCHAMP_ = other.fANNOHCHAMP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E238 RID: 57912 RVA: 0x0025C9EC File Offset: 0x0025ABEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinInfo Clone()
		{
			return new TextJoinInfo(this);
		}

		// Token: 0x17003FB0 RID: 16304
		// (get) Token: 0x0600E239 RID: 57913 RVA: 0x0025C9F4 File Offset: 0x0025ABF4
		// (set) Token: 0x0600E23A RID: 57914 RVA: 0x0025C9FC File Offset: 0x0025ABFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextItemId
		{
			get
			{
				return this.textItemId_;
			}
			set
			{
				this.textItemId_ = value;
			}
		}

		// Token: 0x17003FB1 RID: 16305
		// (get) Token: 0x0600E23B RID: 57915 RVA: 0x0025CA05 File Offset: 0x0025AC05
		// (set) Token: 0x0600E23C RID: 57916 RVA: 0x0025CA0D File Offset: 0x0025AC0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string EANJBBEKKII
		{
			get
			{
				return this.eANJBBEKKII_;
			}
			set
			{
				this.eANJBBEKKII_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17003FB2 RID: 16306
		// (get) Token: 0x0600E23D RID: 57917 RVA: 0x0025CA20 File Offset: 0x0025AC20
		// (set) Token: 0x0600E23E RID: 57918 RVA: 0x0025CA28 File Offset: 0x0025AC28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextItemConfigId
		{
			get
			{
				return this.textItemConfigId_;
			}
			set
			{
				this.textItemConfigId_ = value;
			}
		}

		// Token: 0x17003FB3 RID: 16307
		// (get) Token: 0x0600E23F RID: 57919 RVA: 0x0025CA31 File Offset: 0x0025AC31
		// (set) Token: 0x0600E240 RID: 57920 RVA: 0x0025CA39 File Offset: 0x0025AC39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextJoinItemId
		{
			get
			{
				return this.textJoinItemId_;
			}
			set
			{
				this.textJoinItemId_ = value;
			}
		}

		// Token: 0x17003FB4 RID: 16308
		// (get) Token: 0x0600E241 RID: 57921 RVA: 0x0025CA42 File Offset: 0x0025AC42
		// (set) Token: 0x0600E242 RID: 57922 RVA: 0x0025CA4A File Offset: 0x0025AC4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string FANNOHCHAMP
		{
			get
			{
				return this.fANNOHCHAMP_;
			}
			set
			{
				this.fANNOHCHAMP_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x0600E243 RID: 57923 RVA: 0x0025CA5D File Offset: 0x0025AC5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TextJoinInfo);
		}

		// Token: 0x0600E244 RID: 57924 RVA: 0x0025CA6C File Offset: 0x0025AC6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TextJoinInfo other)
		{
			return other != null && (other == this || (this.TextItemId == other.TextItemId && !(this.EANJBBEKKII != other.EANJBBEKKII) && this.TextItemConfigId == other.TextItemConfigId && this.TextJoinItemId == other.TextJoinItemId && !(this.FANNOHCHAMP != other.FANNOHCHAMP) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E245 RID: 57925 RVA: 0x0025CAF0 File Offset: 0x0025ACF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TextItemId != 0U)
			{
				num ^= this.TextItemId.GetHashCode();
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				num ^= this.EANJBBEKKII.GetHashCode();
			}
			if (this.TextItemConfigId != 0U)
			{
				num ^= this.TextItemConfigId.GetHashCode();
			}
			if (this.TextJoinItemId != 0U)
			{
				num ^= this.TextJoinItemId.GetHashCode();
			}
			if (this.FANNOHCHAMP.Length != 0)
			{
				num ^= this.FANNOHCHAMP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E246 RID: 57926 RVA: 0x0025CB97 File Offset: 0x0025AD97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E247 RID: 57927 RVA: 0x0025CB9F File Offset: 0x0025AD9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E248 RID: 57928 RVA: 0x0025CBA8 File Offset: 0x0025ADA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FANNOHCHAMP.Length != 0)
			{
				output.WriteRawTag(34);
				output.WriteString(this.FANNOHCHAMP);
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				output.WriteRawTag(50);
				output.WriteString(this.EANJBBEKKII);
			}
			if (this.TextItemId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.TextItemId);
			}
			if (this.TextJoinItemId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.TextJoinItemId);
			}
			if (this.TextItemConfigId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.TextItemConfigId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E249 RID: 57929 RVA: 0x0025CC60 File Offset: 0x0025AE60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TextItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextItemId);
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.EANJBBEKKII);
			}
			if (this.TextItemConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextItemConfigId);
			}
			if (this.TextJoinItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextJoinItemId);
			}
			if (this.FANNOHCHAMP.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.FANNOHCHAMP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E24A RID: 57930 RVA: 0x0025CD08 File Offset: 0x0025AF08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TextJoinInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TextItemId != 0U)
			{
				this.TextItemId = other.TextItemId;
			}
			if (other.EANJBBEKKII.Length != 0)
			{
				this.EANJBBEKKII = other.EANJBBEKKII;
			}
			if (other.TextItemConfigId != 0U)
			{
				this.TextItemConfigId = other.TextItemConfigId;
			}
			if (other.TextJoinItemId != 0U)
			{
				this.TextJoinItemId = other.TextJoinItemId;
			}
			if (other.FANNOHCHAMP.Length != 0)
			{
				this.FANNOHCHAMP = other.FANNOHCHAMP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E24B RID: 57931 RVA: 0x0025CD9E File Offset: 0x0025AF9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E24C RID: 57932 RVA: 0x0025CDA8 File Offset: 0x0025AFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 50U)
				{
					if (num == 34U)
					{
						this.FANNOHCHAMP = input.ReadString();
						continue;
					}
					if (num == 50U)
					{
						this.EANJBBEKKII = input.ReadString();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.TextItemId = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.TextJoinItemId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.TextItemConfigId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400597D RID: 22909
		private static readonly MessageParser<TextJoinInfo> _parser = new MessageParser<TextJoinInfo>(() => new TextJoinInfo());

		// Token: 0x0400597E RID: 22910
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400597F RID: 22911
		public const int TextItemIdFieldNumber = 8;

		// Token: 0x04005980 RID: 22912
		private uint textItemId_;

		// Token: 0x04005981 RID: 22913
		public const int EANJBBEKKIIFieldNumber = 6;

		// Token: 0x04005982 RID: 22914
		private string eANJBBEKKII_ = "";

		// Token: 0x04005983 RID: 22915
		public const int TextItemConfigIdFieldNumber = 15;

		// Token: 0x04005984 RID: 22916
		private uint textItemConfigId_;

		// Token: 0x04005985 RID: 22917
		public const int TextJoinItemIdFieldNumber = 12;

		// Token: 0x04005986 RID: 22918
		private uint textJoinItemId_;

		// Token: 0x04005987 RID: 22919
		public const int FANNOHCHAMPFieldNumber = 4;

		// Token: 0x04005988 RID: 22920
		private string fANNOHCHAMP_ = "";
	}
}
